import sys

from PySide6.QtCore import Qt, QPoint, QRect
from PySide6.QtWidgets import QApplication, QMainWindow, QLabel
from PySide6.QtGui import QPixmap, QPen, QPainter, QColor, QBrush

class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()

        self.label = QLabel()
        self.canvas = QPixmap(400, 400)
        self.canvas.fill(Qt.white)

        self.setCentralWidget(self.label)
        self.draw_something()

    def draw_something(self):
        painter = QPainter(self.canvas)
        pen = QPen()
        pen.setWidth(3)
        pen.setColor(QColor("#Eb5160"))
        painter.setPen(pen)
        
        # painter.drawEllipse(10, 10, 100, 100)
        # painter.drawEllipse(10, 10, 150, 200)
        # painter.drawEllipse(10, 10, 200, 300)

        painter.drawEllipse(QPoint(100, 100), 10, 10)
        painter.drawEllipse(QPoint(100, 100), 15, 20)
        painter.drawEllipse(QPoint(100, 100), 20, 30)
        painter.drawEllipse(QPoint(100, 100), 25, 40)
        painter.drawEllipse(QPoint(100, 100), 30, 50)
        painter.drawEllipse(QPoint(100, 100), 35, 60)

        painter.end()

        self.label.setPixmap(self.canvas)

app = QApplication(sys.argv)
window = MainWindow()
window.show()
app.exec()